<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

// 数据插入
if ($type == 'addpost')
{
	$this->success($configlang['Submit_data_inserted_successfully'],cmf_url('portal/list/index',array('id'=>$configinfo['moduleid']))."?act=supplier&type=list");
}

// 数据修改
if ($type == 'editpost')
{	
	$this->success("数据修改成功！",cmf_url('portal/list/index',array('id'=>$configinfo['moduleid']))."?act=supplier&type=list");
}

// 数据删除
if ($type == 'del')
{
	$this->success("数据删除成功！",cmf_url('portal/list/index',array('id'=>$configinfo['moduleid']))."?act=supplier&type=list");
}

?>